<extend name="Public/base"/>

<block name="style">
  <style type="text/css">
   .lab{
   	 font-weight:bold;
     color:#353535;
   	margin-left:20px;
   }
   .sp{
	color:#525557;
   }
   .bq{
	padding:2px 4px;
   }
   .panel{
       width:1000px;
   }
   .pp{
	align:"left";
   	font-family:Georgia, serif;
   	font-size:20px;
   	width:850px;
   }
  </style>
</block>
<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title cf">
        <h2>
           <!--  <if condition="ACTION_NAME eq 'add'">新增专利
                <else/>编辑专利
            </if> -->
            		项目信息
        </h2>
    </div>
    <!-- 表单 -->
    <div class="with-padding">
      <volist name="data" id="vo">                 
          <h1>{$vo.xname}</h1>  
			<div class="panel panel-info">
			  <div class="panel-heading">
			    基本信息
			  </div>
			  <div class="panel-body">
			
			     <div>
			  		<span class="lab">技术名称：</span>
		           <span class="sp">{$vo.tecname}</span>
		           <span class="lab">发布时间：</span>
		           <span class="sp">{$vo.sendtime}</span><br/>
		           <span class="lab" style="line-height:40px">持有人：</span>
		           <span class="sp">{$vo.cname}</span>
		           	<span class="lab">联系方式：</span>
		           <span class="sp">{$vo.ctelephone}</span><br/>
		         </div> 
		             
		           <div style="margin-top:10px"> <span class="lab">技术状态：</span>
		               <span class="label label-success" style="font-size:12px">{$vo.duijie_text}</span>
		           </div> 
		           <br/>
		           <span class="lab" style="line-height:20px">合作方式：</span>
		              <span class="label label-badge label-primary">{$vo.cootype}</span>
		           
		           <span class="lab" style="line-height:20px">应用领域：</span>
		              <span class="label label-badge label-primary">
		                <volist name="vo.tids3" id="v">{$v.name}</volist>
			             <span>--</span>
			             <volist name="vo.tids4" id="v">{$v.name}　</volist>
		              </span>
		            
		            <span class="lab" style="line-height:20px">技术成熟度：</span>
			           <span class="label label-badge label-primary">{$vo.csd}</span>
			  
			  </div>
			</div>
        
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				                  技术描述
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.jsms}</p>
				  </div>
			</div>
			
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				      主要创新点
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.innovate}</p>
				  </div>
			</div>
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				      能实现的指标
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.target}</p>
				  </div>
			</div>
			
           <div class="panel panel-info">
				  <div class="panel-heading">
				       使用场景
				  </div>
				  <div class="panel-body">
				    <p class="pp">{$vo.scene}</p>
				  </div>
			</div> 
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				          媒体展示
				  </div>
				  <div class="panel-body">
				     <span class="lab" style="line-height:40px">视频链接：</span>
		             <span class="sp"><a style="cursor:pointer">{$vo.shipin}</a></span><br/>
		             <span class="lab" style="line-height:40px">附件下载：</span>
		             <span class="sp"><a style="cursor:pointer">点击此处下载</a></span><br/>
		             <span class="lab" style="line-height:40px">图片描述：</span>
		             <span class="sp">
		             
		             <a style="cursor:pointer"><img src="__STATIC__/image/技术图片.jpg" width=200 style="margin-left:0px"></a>
		             
		             </span><br/>
				  </div>

			</div> 
								
			<div class="panel panel-info">
				  <div class="panel-heading">
				                 所获成就
				  </div>
				  <div class="panel-body">
				  <span class="lab" style="line-height:40px">技术专利：</span>
		              <span class="sp">{$vo.patent}</span><br/>
		              
		               <span class="lab" style="line-height:40px">获得过的奖项：</span>
		              <span class="sp">{$vo.aname}</span><br/>
		              
		               <span class="lab" style="line-height:40px">相关论文：</span>
		              <span class="sp">{$vo.pname}</span><br/>
			   </div>
			</div>



          <div class="col-xs-10">
              <a class="btn btn-ajax btn-success confirm ajax-get" href="{:U('xqpass?id='.$vo['id'])}">通过</a> &nbsp
               <a class="btn btn-ajax btn-success confirm ajax-get btn-info" href="{:U('xqcancel?id='.$vo['id'])}">不通过</a>  
                
                <button class="btn btn-return" style='margin-left:20px' onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>      
            </div>						
            <div class="form-item" style="margin-top:20px">
                <input type="hidden" name="did" value="{$data.id}"/>
               <!--  <button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">{:L("_SURE_WITH_SPACE_")}</button> -->
                <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
            </div>
        </volist>  
      </volist>
									
     
    </div>

    
</block>

<block name="script">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" charset="utf-8">
    Think.setValue('type', {$data.type|default = 1});
    Think.setValue('lstates', {$data.lstates|default = 1});
        //导航高亮
        highlight_subnav('{:U('Hostactivity/index')}');
    </script>
    
    <link type="text/css" rel="stylesheet" href="/duijie/Public/js/ext/magnific/magnific-popup.css"/>
    <script type="text/javascript" src="/duijie/Public/js/ext/magnific/jquery.magnific-popup.min.js"></script>

    <script type="text/javascript" charset="utf-8" src="/duijie/Public/js/ext/webuploader/js/webuploader.js"></script>
    <link href="/duijie/Public/js/ext/webuploader/css/webuploader.css" type="text/css" rel="stylesheet">


    <script>
        $(document).ready(function () {
            $('.popup-gallery').each(function () { // the containers for all your galleries
                $(this).magnificPopup({
                    delegate: 'a',
                    type: 'image',
                    tLoading: '正在载入 #%curr%...',
                    mainClass: 'mfp-img-mobile',
                    gallery: {
                        enabled: true,
                        navigateByImgClick: true,
                        preload: [0, 1] // Will preload 0 - before current, and 1 after the current image

                    },
                    image: {
                        tError: '<a href="%url%">图片 #%curr%</a> 无法被载入.',
                        titleSrc: function (item) {
                            /*           return item.el.attr('title') + '<small>by Marsel Van Oosten</small>';*/
                            return '';
                        },
                        verticalFit: true
                    }
                });
            });
                    });
    </script>
</block>
